Skip to content

Update snake.cpp#111

Open
sapus wants to merge 1 commit intopimoroni:mainfrom
sapus:patch-1
Open

Update snake.cpp#111
sapus wants to merge 1 commit intopimoroni:mainfrom
sapus:patch-1

Conversation

@sapus
Copy link
Copy Markdown

@sapus sapus commented Dec 20, 2025

hit = false; must be inside of do loop. If not it will be an endless loop. I added pause state for the game.
I added a sound for every time the snake gets an apple.
I changed a bit the colors to look a little bit more clear.
The game had some speed problems with my device.

hit = false; must be inside of do loop. If not it will be an endless loop.
I added pause state for the game.
I added a sound for every time the snake gets an apple.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant